package self.hoy.demo.cloud.seata.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * (TOrder)实体类
 *
 * @author makejava
 * @since 2020-06-20 18:46:50
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class TOrder implements Serializable {
    private static final long serialVersionUID = -16087128135155437L;
    
    private Long id;
    
    private Long userId;
    /**
    * 产品id
    */
    private Long productId;
    
    private Integer count;
    
    private BigDecimal money;
    /**
    * 订单状态：0创建中；1:已完结
    */
    private Integer status;

}